package com.mingqijia.gassafety.webserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gap.basic.exception.BizException;
import com.mingqijia.gassafety.db.entity.JvInfo;
import com.mingqijia.gassafety.shared.utils.commonUtils.PageUtil;
import com.mingqijia.gassafety.webserver.request.DtuDataStatisticsRequest;
import com.mingqijia.gassafety.webserver.request.JvInfoRequest;
import com.mingqijia.gassafety.webserver.response.CompanyResponse;
import com.mingqijia.gassafety.webserver.response.DtuDataStatisticsResponse;
import com.mingqijia.gassafety.webserver.response.JvInfoResponse;

import java.util.List;

/**
 * <p>
 * 开通企业列表 服务类
 * </p>
 *
 * @author wanghai
 * @since 2023-02-10
 */
public interface JvInfoService extends IService<JvInfo> {

    PageUtil<JvInfoResponse> getList(JvInfoRequest req);

    void add(JvInfoRequest req) throws BizException;

    void edit(JvInfoRequest req);

    void deleteById(Integer id);

    List<CompanyResponse> getCompanyList();

    List<DtuDataStatisticsResponse> getDtuList(DtuDataStatisticsRequest req);

    String getUpdateTime();

}
